package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.WalletChannelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@NoArgsConstructor

public class SandTransferRecordVO   implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("Id")
    private Long id;

    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户Id")
    private Long userId;
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("交易Id")
    private String customerOrderNo;
    @ApiModelProperty("交易渠道")
    private WalletChannelEnum channel;
    @ApiModelProperty("金额")
    private BigDecimal amount;
    @ApiModelProperty("平台手续费")
    private BigDecimal charge;
    /**
     * 审批状态 0 未审批 1 审批通过 2 审批失败
     */
    @ApiModelProperty("审批状态 0 未审批 1 审批通过 2 审批失败（退费）")
    private Integer approvalStatus;
    /**
     * 拒绝原因
     */
    @ApiModelProperty("拒绝原因")
    private String remark;
    /**
     * 申请时间
     */
    @ApiModelProperty("申请时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /**
     * 交易时间
     */
    @ApiModelProperty("交易时间")
    private Date dealTime;
    /**
     * 转账状态 0处理中 1 成功 2 失败
     */
    @ApiModelProperty("转账状态 0处理中 1 成功 2 失败")
    private Integer withdrawStatus;

    /**
     * 手续费
     */
    @ApiModelProperty("杉德手续费")
    private String feeAmount;

}